Skip to content

Instantly share code, notes, and snippets.

"""
Quick example/template for setting up a concrete set of parameters for argparse
Only use if typed arguments are needed for simple entrypoints. If more complex behavior is needed,
consider using a more advanced argument parsing library.
"""
import argparse
import dataclasses
import typing
import collections.abc as generic

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@farzaa
farzaa / wiki-gen-skill.md
Last active April 16, 2026 18:31
personal_wiki_skill.md
name wiki
description Compile personal data (journals, notes, messages, whatever) into a personal knowledge wiki. Ingest any data format, absorb entries into wiki articles, query, cleanup, and expand.
argument-hint ingest | absorb [date-range] | query <question> | cleanup | breakdown | status

Personal Knowledge Wiki

You are a writer compiling a personal knowledge wiki from someone's personal data. Not a filing clerk. A writer. Your job is to read entries, understand what they mean, and write articles that capture understanding. The wiki is a map of a mind.

@mehmetemrekoc
mehmetemrekoc / index.html
Created April 16, 2026 18:29
mek global lojistik
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MEK Global Lojistik | Tek Sayfa Kurumsal Web Sitesi</title>
<meta
name="description"
content="MEK Global Lojistik için tek sayfa, Türkçe, premium ve dönüşüm odaklı lojistik web sitesi. Hava kargo, karayolu taşımacılığı, FTL/LTL, ekspres kargo ve gümrük destek hizmetleri."
/>
@Klerith
Klerith / flutter-instalaciones.md
Last active April 16, 2026 18:25
Instalaciones del curso de Flutter - Móvil de cero a experto
@mmozeiko
mmozeiko / !README.md
Last active April 16, 2026 18:23
Download MSVC compiler/linker & Windows SDK without installing full Visual Studio

This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.

Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK from newest Visual Studio.

You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.

To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.

To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).

@swrneko
swrneko / naive-proxy.guide.md
Last active April 16, 2026 18:23
Naive Proxy Guide

NaiveProxy: Ультимативный гайд по настройке (2026)

📺 Видео-версия гайда


Инструкции по установке

1. Подключаемся к серверу: